Why does printing from this struct give a segmentation fault